
using QdbUnit;
using Qdb.Foundation;

namespace Qdb.Tests.Common.Foundation
{
	public class ThreadLocal4TestCase : ITestCase
	{
		public virtual void TestSet()
		{
			object value = new object();
			ThreadLocal4 local = new ThreadLocal4();
			local.Set(value);
			Assert.AreSame(value, local.Get());
			local.Set(null);
			Assert.AreSame(null, local.Get());
		}
	}
}
